#ifndef _APPLICATION_H_
#define _APPLICATION_H_

#include <SDL.h>

#include "Window.h"
#include "Timer.h"

namespace PF
{
	class Application
	{
	public:
		Application();
		virtual ~Application();

		bool Init(const char *a_szTitle, int a_iX, int a_iY,int a_iW, int a_iH, Uint32 a_uiFlags);
		void Run();

		PF::Window *GetWindow();

	protected:
		PF::Window m_kWindow;
		PF::Timer m_kTimer;
   
   private:
      bool FileExists(std::string strFilename);

	};
}

#endif // _APPLICATION_H_
